package com.crm.redis;

import lombok.Data;

import java.util.concurrent.TimeUnit;

@Data
public class RedisTtlConfig {
	
	private Long time;
	
	private TimeUnit timeUnit;

	public RedisTtlConfig(Long time, TimeUnit timeUnit) {
		super();
		this.time = time;
		this.timeUnit = timeUnit;
	}

	public RedisTtlConfig() {
	}
	
	
}
